﻿using System;
using Pay.TO;

namespace Pay.Data {
	public class AuthInfo {
		public long Id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long MerchantId { get; set; }
		/// <summary>
		/// 订单号
		/// </summary>
		public string OrderNo { get; set; }
		/// <summary>
		///  通道
		/// </summary>
		public PayChannel PayChannel { get; set; }
		/// <summary>
		/// 银行名称
		/// </summary>
		public string BankName { get; set; }
		/// <summary>
		/// 卡号
		/// </summary>
		public string AccountNo { get; set; }
		/// <summary>
		/// 户名
		/// </summary>
		public string AccountName { get; set; }
		/// <summary>
		/// 卡类型 1-借记卡，2-贷记卡 ,3实名二要素，4运营商三要素，5手持证件
		/// </summary>
		public int Type { get; set; }
        /// <summary>
        /// 证件类型：1身份证，2护照号，3港澳台往来通行证
        /// </summary>
        public int CertificateType { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string IdCard { get; set; }
        /// <summary>
        /// 证件手持照片
        /// </summary>
        public string CardImg { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
		/// <summary>
		/// 实名认证状态
		/// </summary>
		public CertifyStatus Status { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public long CreateTime { get; set; }
		/// <summary>
		/// 金额
		/// </summary>
		public decimal Amount { get; set; }
		/// <summary>
		/// 备注
		/// </summary>
		public string Remark { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public long? AuditTime { get; set; }
        /// <summary>
        /// 审核人账号
        /// </summary>
        public string AuditUserMobile { get; set; }
        public virtual Merchant Merchant { get; set; }
	}
}
